import Vue from 'vue'
import Router from 'vue-router'
import test from '@/components/test'
import userlist from '@/components/userlist'
import bookslist from '@/components/bookslist'
import login from '@/components/login'
import gouwuche from '@/components/gouwuchelist'

Vue.use(Router)


var routes = [
        {
          path:'/',
          name:'userlist',
          component:userlist
        },{
          path:'/bookslist',
          name:'bookslist',
          component:bookslist
        },{
          path:'/login',
          name:'login',
          component:login
        },{
          path:'/gouwuche',
          name:'gouwuche',
          component:gouwuche
        },
]

export default new Router({
  routes:routes,
  mode:'history'   /*hash*/
})
